# this make file compiles all the *.c file in this directory
exefiles = $(shell ls *.c | sed 's/.c$$//g')

#CFLAGS += $(shell pkg-config --cflags --libs cairo) -g
CFLAGS += $(shell pkg-config --cflags --libs cairo gtk+-2.0) -g

all: $(exefiles)

$(exefiles) : % : %.c
	cc -o $@ $< $(CFLAGS)

clean:
	rm -rf $(exefiles)
